package com.analysis.service;

import java.sql.Date;
import java.util.List;
import java.util.concurrent.ExecutionException;

import com.analysis.model.KLine;
import com.analysis.model.Similarity;

public interface KLineService {

	List<String> getLatestSymbols() throws InterruptedException, ExecutionException;

	List<String> getLatestHSA() throws InterruptedException, ExecutionException;

	List<String> getLatestHA() throws InterruptedException, ExecutionException;

	List<KLine> getKline(String symbol);


    List<Similarity> analyze(String dataSetName, String symbol, Date startDate, Date endDate);

    List<String> getLine(String symbol, Date startDate, Date endDate);

    List<Similarity> DTWAnalyze(String setName, String symbol, Date startDate, Date endDate);

	List<Similarity> analyzeWithoutExe(String setName, String symbol, Date startDate, Date endDate);

	List<Similarity> DTWAnalyzeWithoutExe(String setName, String symbol, Date startDate, Date endDate);

}
